//
//  FIPlayViewController.h
//  OpenglPing
//
//  Created by protocal 100TV on 12-11-5.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@interface TestKvo : NSObject {
    NSString * age;
}
@property(nonatomic, copy)NSString * name;
@end

@interface TestKvoMaster : NSObject

@end


@interface CustomPlayerView : UIView
@property(nonatomic, retain) AVPlayer *player;
@end
////////////////////////////////////////////////////////////
@interface FIPlayViewController : UIViewController {
    NSOperationQueue * queue;
    
//    CustomPlayerView *moviePlayeView;
    CGFloat totalMovieDuration;
//    AVPlayer * mPlayer;
    NSString * m_play_url;
}
- (void)initPlayer;
@property (retain, nonatomic) IBOutlet CustomPlayerView *movePlayerView;

//@property(nonatomic, retain) AVPlayer * mPlayer;
@property (retain, nonatomic) IBOutlet UIButton *play;
- (IBAction)onplay:(id)sender;
- (void)setPlayUrl:(NSString*)url;
@end
